package com.virgo.demo.support.domain.bo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConfigBo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Long id;

	@NotBlank(message = "配置项名称不能为空")
	private String configName;

	@NotBlank(message = "配置项key不能为空")
	private String configKey;

	private String configValue;

	@NotBlank(message = "配置项描述不能为空")
	private String configDesc;

	private Integer configType;

	private String configValues;

	private Integer configGroup;
}